package com.comcast.core.eeg.eventsubscription.types;

public class SubscriptionOption
    implements java.io.Serializable
{
    private static final long serialVersionUID = 1L;

    public SubscriptionOption()
    {
    }

    public SubscriptionOption(com.comcast.core.eeg.types.TransactionOption transaction)
    {
        this.transaction = transaction;
    }

    public SubscriptionOption(SubscriptionOption otherBean)
    {
        this(otherBean.getTransaction());
    }

    /**
     * Copies all properties from the argument value object into this value object.
     */
    public void copy(SubscriptionOption otherBean)
    {
        if (otherBean != null)
        {
            this.setTransaction(otherBean.getTransaction());
        }
    }

    private com.comcast.core.eeg.types.TransactionOption transaction;

    /**
     * Get the transaction
     * 
     */
    public com.comcast.core.eeg.types.TransactionOption getTransaction()
    {
        return this.transaction;
    }

    /**
     * Sets the transaction
     */
    public void setTransaction(com.comcast.core.eeg.types.TransactionOption transaction)
    {
        this.transaction = transaction;
    }

}